<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>印象滑州网</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        :root {
            --primaryBlue: #007BFF;
            --secondaryBlue: #0056b3;
            --lightBlue: #e7f5ff;
            --starBlue: #2A4359;
            --ink: #333333;
            --jade: #F7FBFE;
            --autumnBlue: #8AA2B5;
            --glazeBlue: #3A5F7D;
            --paleBlueGrey: #E1E8ED;
            --stoneGreen: #5C877B;
            --bambooGreen: #7A9D8F;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
            line-height: 1.6;
            color: var(--ink);
            background-color: var(--jade);
        }

        /* 导航栏样式 */
        .nav-container {
            background-color: rgba(247, 251, 254, 0.95);
            padding: 1.2rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            background: transparent;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .logo:hover .logo-icon {
            transform: none;
        }

        .logo:hover .logo-icon img {
            transform: none;
        }

        .logo h1 {
            color: var(--starBlue);
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            background: linear-gradient(45deg, var(--primaryBlue), var(--glazeBlue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        .nav-links a {
            color: var(--starBlue);
            text-decoration: none;
            font-size: 1.1rem;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primaryBlue), var(--bambooGreen));
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primaryBlue);
        }

        /* 英雄区域样式 */
        .hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--starBlue), var(--glazeBlue));
        }

        .hero-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 2;
            width: 100%;
            max-width: 800px;
            padding: 0 2rem;
            cursor: pointer;
        }

        .welcome-text {
            position: relative;
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .welcome-text.show {
            transform: translateY(0);
            opacity: 1;
        }

        .welcome-text h2 {
            font-size: 5.5rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            letter-spacing: 4px;
            background: linear-gradient(45deg, var(--jade), var(--lightBlue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            position: relative;
        }

        .welcome-text h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 3px;
            background: linear-gradient(90deg, var(--primaryBlue), var(--bambooGreen));
            border-radius: 2px;
        }

        .welcome-text p {
            font-size: 2.2rem;
            color: var(--jade);
            margin-top: 2rem;
            font-weight: 300;
            letter-spacing: 3px;
            opacity: 0.9;
        }

        .door-left, .door-right {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(135deg, var(--starBlue), var(--glazeBlue));
            transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .door-left {
            left: 0;
            transform-origin: left;
            transform: translateX(0);
        }

        .door-right {
            right: 0;
            transform-origin: right;
            transform: translateX(0);
        }

        .door-handle {
            width: 140px;
            height: 140px;
            background: transparent;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s ease;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            overflow: hidden;
            /* 移除边框 */
            border: none; 
            padding: 0;
        }

        .door-handle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
            padding: 0;
            margin: 0;
            display: block;
        }

        .door-handle:hover {
            background: rgba(247, 251, 254, 0.15);
            transform: translateY(-50%) scale(1.05);
        }

        .door-handle:hover img {
            transform: scale(1.05);
        }

        .door-left .door-handle {
            right: 20px;
        }

        .door-right .door-handle {
            left: 20px;
        }

        .door-handle i {
            font-size: 1.8rem;
            color: var(--jade);
            opacity: 0.8;
            transition: all 0.4s ease;
        }

        .door-handle:hover {
            background: rgba(247, 251, 254, 0.25);
            transform: translateY(-50%) scale(1.1);
        }

        .door-handle:hover i {
            opacity: 1;
            transform: rotate(90deg);
        }

        .hero:hover .door-left {
            transform: translateX(-100%) scaleX(1.2);
        }

        .hero:hover .door-right {
            transform: translateX(100%) scaleX(1.2);
        }

        .slider-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .hero:hover .slider-container {
            opacity: 1;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--starBlue), var(--glazeBlue));
            opacity: 0.4;
        }

        .slider-controls {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
            display: flex;
            gap: 1rem;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .hero:hover .slider-controls {
            opacity: 1;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--jade);
            opacity: 0.5;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-dot.active {
            opacity: 1;
            transform: scale(1.2);
        }

        /* 特色区域样式 */
        .features {
            padding: 6rem 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: var(--jade);
        }

        .feature-card {
            background: var(--jade);
            padding: 0;
            border-radius: 5px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--paleBlueGrey);
        }

        .feature-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .feature-card:hover img {
            transform: scale(1.05);
        }

        .feature-card .card-content {
            padding: 1.5rem;
            background: var(--jade);
        }

        .feature-card h3 {
            color: var(--starBlue);
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
            font-weight: 600;
        }

        .feature-card p {
            color: var(--autumnBlue);
            font-size: 1.1rem;
            line-height: 1.6;
        }

        /* 页脚样式 */
        footer {
            background: linear-gradient(135deg, var(--starBlue), var(--glazeBlue));
            color: var(--jade);
            padding: 3rem 2rem;
            text-align: center;
        }

        .footer-content p {
            font-size: 1rem;
            opacity: 0.8;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-container {
                padding: 1rem;
                flex-direction: column;
            }

            .nav-links {
                margin-top: 1rem;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }

            .hero-content h2 {
                font-size: 2.5rem;
            }

            .hero-content p {
                font-size: 1.3rem;
            }

            .features {
                padding: 4rem 1rem;
                grid-template-columns: 1fr;
            }

            .feature-card {
                padding: 2rem;
            }
        }

        /* 动画效果 */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .feature-card {
            animation: float 3s ease-in-out infinite;
        }

        .feature-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .feature-card:nth-child(3) {
            animation-delay: 0.4s;
        }

        /* 视频介绍模块样式 */
        .video-intro {
            padding: 6rem 2rem;
            background-color: var(--jade);
        }

        .video-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 宽高比 */
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .intro-text {
            padding: 2rem;
        }

        .intro-text h2 {
            color: var(--starBlue);
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
            position: relative;
        }

        .intro-text h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primaryBlue), var(--bambooGreen));
            border-radius: 2px;
        }

        .intro-text p {
            color: var(--autumnBlue);
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .intro-text .highlight {
            color: var(--starBlue);
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .video-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .intro-text {
                padding: 1rem;
            }

            .intro-text h2 {
                font-size: 2rem;
            }
        }

        /* 新增固定圆形图标样式 */
        .fixed-icon {
            position: fixed;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .fixed-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .fixed-icon:hover {
            transform: translateY(-50%) scale(1.1);
        }
    </style>
</head>
<body>
    <header>
        <nav class="nav-container">
            <div class="logo">
                <div class="logo-icon">
                    <img src="hz.png" alt="滑州网logo">
                </div>
                <h1>印象滑州网</h1>
            </div>
            <ul class="nav-links">
                <li><a href="index.html" class="active">首页</a></li>
                <li><a href="food.html">美食介绍</a></li>
                <li><a href="scenery.html">景点介绍</a></li>
                <li><a href="culture.html">民俗文化</a></li>
                <li><a href="message.html">在线留言</a></li>
            </ul>
        </nav>
    </header>

    <main>
        <section class="hero">
            <div class="door-left">
                <div class="door-handle">
                    <img src="door.png" alt="左侧门把手">
                </div>
            </div>
            <div class="door-right">
                <div class="door-handle">
                    <img src="door.png" alt="右侧门把手">
                </div>
            </div>
            <div class="hero-content">
                <div class="welcome-text">
                    <h2>欢迎来到滑州</h2>
                    <p>探索千年古城的魅力</p>
                </div>
            </div>
            <div class="slider-container">
                <div class="slide active" style="background-image: url('https://www.hnhx.gov.cn/portal/rootimages/2024/11/06/1612802345414786-1732181480730192.png');"></div>
                <div class="slide" style="background-image: url('https://www.hnhx.gov.cn/portal/rootimages/2025/02/17/17412837565989410.jpg');"></div>
                <div class="slide" style="background-image: url('https://www.hnhx.gov.cn/portal/rootimages/2022/02/07/1641267349225097-1641267349327735.jpg');"></div>
            </div>
            <div class="slider-controls">
                <div class="slider-dot active"></div>
                <div class="slider-dot"></div>
                <div class="slider-dot"></div>
            </div>
        </section>

        <section class="video-intro">
            <div class="video-container">
                <div class="video-wrapper">
                    <iframe src="./huaxian.mp4" 
                            scrolling="no" 
                            frameborder="0" 
                            allowfullscreen>
                    </iframe>
                </div>
                <div class="intro-text">
                    <h2>活力滑州</h2>
                    <p>滑县，位于河南省安阳市，是一座具有悠久历史文化的古城。这里不仅有着丰富的历史文化遗产，更有着独特的自然风光和人文景观。</p>
                    <p>作为河南省重要的历史文化名城，滑县拥有众多历史古迹和文化遗产。从古老的城墙遗址到传统的民俗文化，每一处都诉说着这座城市的沧桑与辉煌。</p>
                    <p class="highlight">在这里，您可以感受到浓厚的历史氛围，体验独特的民俗风情，品尝地道的特色美食，领略自然与人文的完美融合。</p>
                </div>
            </div>
        </section>

        <section class="features">
            <div class="feature-card">
                <img src="https://pics0.baidu.com/feed/4ec2d5628535e5ddac9ce462648110e1cf1b62b4.jpeg?token=55afd6f718079f7edfd77ddfb36114e9" alt="美食">
                <div class="card-content">
                    <h3>麻鸭面</h3>
                    <p>劲道爽滑｜唇齿留香｜风味独特</p>
                </div>
            </div>
            <div class="feature-card">
                <img src="https://b0.bdstatic.com/7efc91bcb6d7f375c28998ad41fc0220.jpg@h_1280" alt="美食">
                <div class="card-content">
                    <h3>道口烧鸡</h3>
                    <p>皮滑肉嫩｜香透入骨｜独具风味</p>
                </div>
            </div>
            <div class="feature-card">
                <img src="https://bkimg.cdn.bcebos.com/pic/622762d0f703918fa0ec8698d677319759ee3d6d6e04?x-bce-process=image/format,f_auto/watermark,image_d2F0ZXIvYmFpa2UyNzI,g_7,xp_5,yp_5,P_20/resize,m_lfit,limit_1,h_1080" alt="文化">
                <div class="card-content">
                    <h3>木版年画</h3>
                    <p>雕工细腻｜设色浓烈｜祈福千年</p>
                </div>
            </div>
            <div class="feature-card">
                <img src="https://pic.rmb.bdstatic.com/bjh/news/4d05fbe18cd44a6201aa0931df4e5d1e.jpeg" alt="文化">
                <div class="card-content">
                    <h3>明福寺塔</h3>
                    <p>巍峨挺秀｜工艺精湛｜格调高雅</p>
                </div>
            </div>
            <div class="feature-card">
                <img src="https://img1.baidu.com/it/u=360492923,543077443&fm=253&fmt=auto&app=138&f=JPEG?w=1087&h=500" alt="文化">
                <div class="card-content">
                    <h3>道口古镇</h3>
                    <p>古意盎然｜街巷含情｜韵味悠长</p>
                </div>
            </div>
            <div class="feature-card">
                <img src="https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2023%2F0321%2F2ae164abj00rrtvge002md200rs00ijg00it00cj.jpg&thumbnail=660x2147483647&quality=80&type=jpg" alt="文化">
                <div class="card-content">
                    <h3>滑县社火</h3>
                    <p>欢腾热烈｜形式多样｜民俗浓郁</p>
                </div>
            </div>
        </section>
    </main>

    <!-- 新增固定圆形图标 -->
    <a href="message.html" class="fixed-icon">
        <img src="adoor.png" alt="固定圆形图标">
    </a>

    <footer>
        <div class="footer-content">
            <p>&copy; 2025 印象滑州网 版权所有</p>
        </div>
    </footer>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 导航栏滚动效果
            const nav = document.querySelector('.nav-container');
            window.addEventListener('scroll', function() {
                if (window.scrollY > 50) {
                    nav.style.background = 'rgba(247, 251, 254, 0.95)';
                    nav.style.boxShadow = '0 2px 20px rgba(0,0,0,0.1)';
                } else {
                    nav.style.background = 'rgba(247, 251, 254, 0.95)';
                    nav.style.boxShadow = '0 2px 20px rgba(0,0,0,0.05)';
                }
            });

            const welcomeText = document.querySelector('.welcome-text');
            const hero = document.querySelector('.hero');
            let slideTimer = null;

            function showWelcomeText() {
                welcomeText.classList.add('show');
                welcomeText.style.opacity = '1';
                welcomeText.style.transform = 'translateY(0)';
            }

            function hideWelcomeText() {
                welcomeText.style.opacity = '0';
                welcomeText.style.transform = 'translateY(-100%)';
            }

            // 初始显示欢迎语
            setTimeout(showWelcomeText, 500);

            // 3秒后隐藏欢迎语
            setTimeout(() => {
                hideWelcomeText();
                // 开始自动轮播
                slideTimer = setInterval(nextSlide, slideInterval);
            }, 3000);

            // 鼠标移入移出事件
            hero.addEventListener('mouseenter', () => {
                showWelcomeText();
                clearInterval(slideTimer);
            });

            hero.addEventListener('mouseleave', () => {
                setTimeout(() => {
                    hideWelcomeText();
                    slideTimer = setInterval(nextSlide, slideInterval);
                }, 3000);
            });

            // 轮播图功能
            const slides = document.querySelectorAll('.slide');
            const dots = document.querySelectorAll('.slider-dot');
            let currentSlide = 0;
            const slideInterval = 4000; // 四秒切换一次

            function showSlide(index) {
                slides.forEach(slide => slide.classList.remove('active'));
                dots.forEach(dot => dot.classList.remove('active'));
                
                slides[index].classList.add('active');
                dots[index].classList.add('active');
            }

            function nextSlide() {
                currentSlide = (currentSlide + 1) % slides.length;
                showSlide(currentSlide);
            }

            // 点击指示点切换
            dots.forEach((dot, index) => {
                dot.addEventListener('click', () => {
                    currentSlide = index;
                    showSlide(currentSlide);
                    // 重置定时器
                    clearInterval(slideTimer);
                    slideTimer = setInterval(nextSlide, slideInterval);
                });
            });

            // 添加页面加载动画
            const featureCards = document.querySelectorAll('.feature-card');
            featureCards.forEach((card, index) => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(30px)';
                setTimeout(() => {
                    card.style.transition = 'all 0.5s ease';
                    card.style.opacity = '1';
                    card.style.transform = 'translateY(0)';
                }, 200 * index);
            });

            // 添加滚动动画
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = '1';
                        entry.target.style.transform = 'translateY(0)';
                    }
                });
            });

            featureCards.forEach(card => {
                observer.observe(card);
            });
        });
    </script>
</body>
</html>
    


